not able to deploy my webapp to a remote server
am 25.12.2009 19:56:36 von vijay shanker--0016e64692ae9fe335047b921e04
Content-Type: text/plain; charset=ISO-8859-1
Hi friends;
I am very screwed here.
I am using tomcat-maven-plugin to deploy my work on a remote server.. My
remote server is running on centos box. Now here goes my situation log
whenever i rum deploy command.
I have tried running this by iptables disables. but that also does not
change the situation.
Comand
----
D:\VijayAtWork\TeamProjects\trunk\works>mvn -e
org.codehaus.mojo:tomcat-maven-plugin:1.0-beta-1:deploy
---
logs
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------ ------------
[INFO] Building mobivite
[INFO] task-segment:
[org.codehaus.mojo:tomcat-maven-plugin:1.0-beta-1:deploy]
[INFO]
------------------------------------------------------------ ------------
[INFO] Preparing tomcat:deploy
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[WARNING] While downloading aspectj:aspectjweaver:1.5.4
This artifact has been relocated to org.aspectj:aspectjweaver:1.5.4.
[WARNING] While downloading javax.xml.soap:saaj-impl:1.3
This artifact has been relocated to
com.sun.xml.messaging.saaj:saaj-impl:1.3.
Downloading:
http://192.168.1.200:8014/artifactory/repo/org/springframewo rk/spring-hibernate3/2.0-rc2/spring-hibernate3-2.0-rc2.pom
Downloading:
http://192.168.1.200:8014/artifactory/repo/woodstox/wstx-asl /3.2.7/wstx-asl-3.2.7.pom
[INFO] [compiler:compile]
[INFO] Compiling 1 source file to
D:\VijayAtWork\TeamProjects\trunk\works\target\classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Surefire report directory:
D:\VijayAtWork\TeamProjects\trunk\works\target\surefire-repo rts
-------------------------------------------------------
T E S T S
-------------------------------------------------------
There are no tests to run.
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO] [war:war]
[INFO] Packaging webapp
[INFO] Assembling webapp[works] in
[D:\VijayAtWork\TeamProjects\trunk\works\target\works]
[INFO] Processing war project
[INFO] Webapp assembled in[4707 msecs]
[INFO] Building war:
D:\VijayAtWork\TeamProjects\trunk\works\target\works.war
[INFO] [tomcat:deploy]
[INFO] Deploying war to http://servername.net:8080/works
[INFO]
------------------------------------------------------------ ------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------ ------------
[INFO] Cannot invoke Tomcat manager: FAIL - Encountered exception
java.net.SocketTimeoutException: Read timed out
[INFO]
------------------------------------------------------------ ------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Cannot invoke Tomcat
manager: FAIL - Encountered exception java.net.SocketTimeoutException: Read
timed out
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeG oals(DefaultLifecycleExecutor.java:583)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeS tandaloneGoal(DefaultLifecycleExecutor.java:512)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeG oal(DefaultLifecycleExecutor.java:482)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeG oalAndHandleFailures(DefaultLifecycleExecutor.java:330)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeT askSegments(DefaultLifecycleExecutor.java:291)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( DefaultLifecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:33 6)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.ja va:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher. java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Cannot invoke
Tomcat manager: FAIL - Encountered exception
java.net.SocketTimeoutException: Read timed out
at
org.codehaus.mojo.tomcat.AbstractCatalinaMojo.execute(Abstra ctCatalinaMojo.java:145)
at
org.codehaus.mojo.tomcat.AbstractWarCatalinaMojo.execute(Abs tractWarCatalinaMojo.java:63)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(Def aultPluginManager.java:451)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeG oals(DefaultLifecycleExecutor.java:558)
... 16 more
[INFO]
------------------------------------------------------------ ------------
[INFO] Total time: 2 minutes 40 seconds
[INFO] Finished at: Sat Dec 26 00:04:03 IST 2009
[INFO] Final Memory: 21M/254M
[INFO]
------------------------------------------------------------ ------------
D:\VijayAtWork\TeamProjects\works\trunk\works>
Will you please suggest where should i look for solution.
My POM.xml entry is given below
-----
-----
Regards,
Vijay Shanker Dubey
Ph: +91-9818311884
--0016e64692ae9fe335047b921e04
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hi friends;
My remote server is running on centos box. Now here goes my situation log w=
henever i rum deploy command.
change the situation.
jo:tomcat-maven-plugin:1.0-beta-1:deploy
stacktraces are turned on.
div>[INFO] ------------------------------------------------------------ ----=
--------
dehaus.mojo:tomcat-maven-plugin:1.0-beta-1:deploy]
------------------------------------------------------------ -----
[INFO] Preparing tomcat:deploy
ARNING] While downloading aspectj:aspectjweaver:1.5.4
artifact has been relocated to org.aspectj:aspectjweaver:1.5.4.
ap:saaj-impl:1.3
n.xml.messaging.saaj:saaj-impl:1.3.
Downloading: ngframework/spring-hibernate3/2.0-rc2/spring-hibernate3-2.0- rc2.pom">http:/=
/192.168.1.200:8014/artifactory/repo/org/springframework/spr ing-hibernate3/=
2.0-rc2/spring-hibernate3-2.0-rc2.pom
ory/repo/woodstox/wstx-asl/3.2.7/wstx-asl-3.2.7.pom
ompiler:compile]
rks\target\classes
FO] Using default encoding to copy filtered resources.
mpiler:testCompile]
] [surefire:test]
k\TeamProjects\trunk\works\target\surefire-reports
E S T S
/div>
div>
works\target\works]
7 msecs]
orks\target\works.war
loying war to http://servernam=
e.net:8080/works
---------
------------------------------------------------------
not invoke Tomcat manager: FAIL - Encountered exception java.net.SocketTime=
outException: Read timed out
------------------------
lifecycle.LifecycleExecutionException: Cannot invoke Tomcat manager: FAIL -=
Encountered exception java.net.SocketTimeoutException: Read timed out
LifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java :583)
xecuteStandaloneGoal(DefaultLifecycleExecutor.java:512)
or.executeGoal(DefaultLifecycleExecutor.java:482)
=A0at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeG oalAndHan=
dleFailures(DefaultLifecycleExecutor.java:330)
or.executeTaskSegments(DefaultLifecycleExecutor.java:291)
=A0 =A0 =A0at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( D=
efaultLifecycleExecutor.java:142)
ven.java:336)
execute(DefaultMaven.java:129)
ven.cli.MavenCli.main(MavenCli.java:287)
ve Method)
mpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorIm=
pl.java:25)
/div>
nced(Launcher.java:315)
rlds.Launcher.launch(Launcher.java:255)
e(Launcher.java:430)
s.Launcher.main(Launcher.java:375)
ugin.MojoExecutionException: Cannot invoke Tomcat manager: FAIL - Encounter=
ed exception java.net.SocketTimeoutException: Read timed out
atalinaMojo.execute(AbstractCatalinaMojo.java:145)
=A0at org.codehaus.mojo.tomcat.AbstractWarCatalinaMojo.execute(Abs tractWar=
CatalinaMojo.java:63)
uteMojo(DefaultPluginManager.java:451)
pache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycl=
eExecutor.java:558)
-------------------------------------------------
me: 2 minutes 40 seconds
IST 2009
-------------------------------------------------
D:\VijayAtWork\TeamProjects\works\trunk\works>
/div>
t;groupId>org.codehaus.mojo</groupId>
maven-plugin</artifactId>
t;version>1.0-beta-1</version>
lt;username>admin</username>
assword>
lt;path>/works</path>
/div>
Regards,<=
br>Vijay Shanker Dubey
Ph: +91-9818311884
--0016e64692ae9fe335047b921e04--
Re: not able to deploy my webapp to a remote server
am 25.12.2009 20:10:04 von vijay shanker--0016e64692aec93078047b924e3d
Content-Type: text/plain; charset=ISO-8859-1
Hello friends;
selected wrong email id and send
:)
Sorry for inconvenience
R
Vijay
--0016e64692aec93078047b924e3d
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
nd
e
--0016e64692aec93078047b924e3d--